#include "e2d/imgui/audio/Editor.h"
#include "e2d/core/audio/components.h"

using Editor = e2d::BasicEditor;

template<>
bool Editor::Edit<e2d::AudioClips>(const std::string& l, e2d::AudioClips& e)
{
    int index = 0;

    for (auto& it : e.m_Clips)
    {
        EditInst<e2d::AudioClipMap>("audio Data", it);
    }
    if (ImGui::Button("+"))
    {
        e.m_Clips.push_back({});
    }


    return false;
};

